﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
private Q_SLOTS:

    void OnRadarChange(const QString &strText);
protected:
    void keyPressEvent (QKeyEvent *keyevent);

//    void mousePressEvent(QMouseEvent *event); //鼠标按键按下
//    void mouseReleaseEvent(QMouseEvent *event); //鼠标按键抬起
//    void mouseClickedEvent(QMouseEvent *event); //鼠标按键单击
//    void mouseDoubleClickedEvent(QMouseEvent *event); //鼠标按键双击
//    void mouseMouveEvent(QMouseEvent *event); //鼠标移动
//    void wheelEvent(QWheelEvent *event); //鼠标滚轮滚动

std::vector<QString> vtCity;
};
#endif // MAINWINDOW_H
